// token.decorator.ts

import { SetMetadata } from '@nestjs/common';

/**
 * 接口允许token访问
 */
export const ALLOW_NO_TOKEN = 'allowNoToken'

export const AllowNoToken = () => {
  return SetMetadata(ALLOW_NO_TOKEN,true)
}